package com.nsu.evaluation.common;

/**
 * Created by EZ on 2018/3/7.
 */
public class Const {


    public interface AddRes{
        int ADD_SUCCESS = 0;  //添加成功
        int ADD_FAILED= 1;    //添加失败
    }

    public interface UpdateRes{
        int UPDATE_SUCCESS = 0;  //修改成功
        int UPDATE_FAILED= 1;    //修改失败
    }

    public interface DeleteRes{
        int DELETE_SUCCESS = 0;  //修改成功
        int DELETE_FAILED= 1;    //修改失败
    }
    
    public interface QueryRes{
        int Query_SUCCESS = 0;  //修改成功
        int Query_FAILED= 1;    //修改失败
    }
    
    //--登录状态
  	public static final String ISLOGIN = "ISLOGIN";
    public static final String CURRENT_USER = "currentUser";

    //--登录用户角色
    public static final String CURRENT_USER_ROLE = "currentUserRole";

}
